home *** CD-ROM | disk | FTP | other *** search
- * A specimen master journal file for a company called "John Doe Enterprises".
- * An asterisk marks everything to the right of it as a comment--something
- * that the posting program will ignore. If you edit this file for your own
- * use, you will probably want to remove most of the comments.
-
- * The journal name is optional. If you omit it, you will lose some of
- * your audit trail because there will be no journal names in the ledger.
-
- Journal: OPEN/CLOSE
-
- * The company name is required. To prevent erroneous posting, the name
- * must appear in all ledgers, journals and account charts. If the posting
- * program finds a company name that does not match the others, it will
- * warn you.
-
- Company: John Doe Enterprises
-
- * Before any postings can be done, we must read in the chart of accounts.
- * This creates a general ledger in which all account balances are zero.
- * We might also have read in a ledger created by a previous use of the
- * posting program. If the books are out of balance, the posting program
- * will tell you so when it reads the ledger.
-
- Read Ledger: ACCOUNTS
-
- * In this example, it is presumed that John Doe started his business on
- * March 1, 1990 with $10,000 in cash and $50,000 in inventory.
-
- Date: March 1, 1990
- Cash 10,000.00
- Inventory 50,000.00
- John Doe Capital 60,000.00
-
- * The inventory balance at the beginning of the month will be needed for
- * the income statement. We therefore record it in the non-ledger amount
- * called "Beginning Inventory".
-
- Add: Inventory
- Total: Beginning Inventory
-
- * The transactions for March are recorded in a separate journal called
- * GENERAL. The "Include" command tells the posting program to read
- * the file GENERAL before going on to subsequent postings and commands
- * in this file. We might have used our text editor to load the file
- * GENERAL into this file. The file GENERAL contains entries
- * that are likely to change from month to month. This file, however,
- * contains mostly entries and commands that are likely to be the same
- * from month to month. We may be able to re-use it.
-
- Include: GENERAL
-
- * We compute some non-ledger amounts needed for income statement
-
- Add: Sales
- Add: Returns and Allowances
- Total: Net Sales
-
- Add: Purchases
- Add: Purchase Discounts
- Total: Net Purchases
-
- Add: Net Purchases
- Add: Beginning Inventory
- Total: Goods Available for Sale
-
- Add: Goods Available for Sale
- Subtract: Inventory
- Total: Cost of Goods Sold
-
- Add: Net Sales
- Add: Cost of Goods Sold
- Total: Gross Profit on Sales
-
- Add: Gross Profit on Sales
- Add: Interest Income
- Total: Gross Income
-
- * Here we add the balances in all accounts from "Advertising" to
- * "Utilities", inclusive, as they appear in the chart of accounts.
- * This is much easier than including a separate line for each
- * account, and allows us to insert new expense accounts from time
- * to time without changing this command.
-
- Add: Advertising .. Utilities
- Total: Expenses
-
- Add: Gross Income
- Add: Expenses
- Total: Net Income
-
- * We create an income statement from the form IS.FRM and write it
- * to the file REPORT. The previous contents of the file REPORT, if any
- * are lost.
-
- Date: March 31, 1990
- Report: IS.FRM, REPORT
-
- * We close all income and expense accounts into the capital account
-
- Close: Sales .. Utilities
- Into: John Doe Capital
-
- * We compute some non-ledger amounts needed for balance sheet
-
- Add: Cash .. Inventory
- Total: Total Assets
-
- Add: Accounts Payable .. John Doe Capital
- Total: Total Liabilities and Capital
-
- * We create a balance sheet from the form BS.FRM and append it to the
- * previously crated income statement
-
- Report: BS.FRM, +REPORT
-
- * We save the general ledger with all postings. It might be a good
- * idea to print the file LEDGER and sign and date each page to provide
- * an audit trail.
-
- Write Ledger: LEDGER
-
- * We save a post-closing trial balance with zero balances omitted.
- * This trial balance can be used to open the books next month, because
- * it is in an acceptable journal format. Its journal name is OPEN.
-
- Condensed Trial Balance: PCTB, OPEN
-
- * We tell the operator the posting is finished.
-
- Message: Finished